/*
 * Copyright 2010 bedatadriven
 *
 *    Licensed under the Apache License, Version 2.0 (the "License");
 *    you may not use this file except in compliance with the License.
 *    You may obtain a copy of the License at
 *
 *        http://www.apache.org/licenses/LICENSE-2.0
 *
 *    Unless required by applicable law or agreed to in writing, software
 *    distributed under the License is distributed on an "AS IS" BASIS,
 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *    See the License for the specific language governing permissions and
 *    limitations under the License.
 */

/**
 * JacobGen generated file --- do not edit
 *
 * (http://www.bigatti.it/projects/jacobgen)
 */
package com.bedatadriven.mso.core;

import com.google.gwt.core.client.JavaScriptObject;

/** Wrapper for Office.FileSearch*/
public class FileSearch extends JavaScriptObject {

	protected FileSearch() { }
	public native final Object getApplication()/*-{
		return this.Application;
	}-*/;

	public native final int getCreator()/*-{
		return this.Creator;
	}-*/;

	public native final boolean getSearchSubFolders()/*-{
		return this.SearchSubFolders;
	}-*/;

	public native final void setSearchSubFolders(boolean value)/*-{
		this.SearchSubFolders = value;
	}-*/;

	public native final boolean getMatchTextExactly()/*-{
		return this.MatchTextExactly;
	}-*/;

	public native final void setMatchTextExactly(boolean value)/*-{
		this.MatchTextExactly = value;
	}-*/;

	public native final boolean getMatchAllWordForms()/*-{
		return this.MatchAllWordForms;
	}-*/;

	public native final void setMatchAllWordForms(boolean value)/*-{
		this.MatchAllWordForms = value;
	}-*/;

	public native final String getFileName()/*-{
		return this.FileName;
	}-*/;

	public native final void setFileName(String value)/*-{
		this.FileName = value;
	}-*/;

	public native final int getFileType()/*-{
		return this.FileType;
	}-*/;

	public native final void setFileType(int value)/*-{
		this.FileType = value;
	}-*/;

	public native final int getLastModified()/*-{
		return this.LastModified;
	}-*/;

	public native final void setLastModified(int value)/*-{
		this.LastModified = value;
	}-*/;

	public native final String getTextOrProperty()/*-{
		return this.TextOrProperty;
	}-*/;

	public native final void setTextOrProperty(String value)/*-{
		this.TextOrProperty = value;
	}-*/;

	public native final String getLookIn()/*-{
		return this.LookIn;
	}-*/;

	public native final void setLookIn(String value)/*-{
		this.LookIn = value;
	}-*/;

	public native final int execute(int sortBy, int sortOrder, boolean alwaysAccurate)/*-{
		return this.Execute( sortBy, sortOrder, alwaysAccurate);
	}-*/;

	public native final void newSearch()/*-{
		this.NewSearch( );
	}-*/;

	public native final FoundFiles getFoundFiles()/*-{
		return this.FoundFiles;
	}-*/;

	public native final PropertyTests getPropertyTests()/*-{
		return this.PropertyTests;
	}-*/;

	public native final SearchScopes getSearchScopes()/*-{
		return this.SearchScopes;
	}-*/;

	public native final SearchFolders getSearchFolders()/*-{
		return this.SearchFolders;
	}-*/;

	public native final FileTypes getFileTypes()/*-{
		return this.FileTypes;
	}-*/;

	public native final void refreshScopes()/*-{
		this.RefreshScopes( );
	}-*/;

}
